#!/bin/bash

# install the python libraries
pip install pandas
pip install numpy
pip install beautifulsoup4
pip install nltk
pip install sklearn
pip install sentence-transformers
pip install tensorflow
pip install tensorflow_hub
pip install umap
pip install import_ipynb
pip install torch
pip install torchvision
pip install asyncio
pip install fast-pytorch-kmeans
pip install scipy

# Run the python scripts
python Embeddings_eo.py
python Embeddings_stwts.py
python GenDistMatrices.py
python Indices.py
python ReconstructionLoss.py
python MultinomialNB_eo.py
python MultinomialNB_stwts.py

# Run the R scripts
Rscript main_figures.R